package cn.iocoder.yudao.module.mini.controller.admin.technician.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 技师创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TechnicianCreateReqVO extends TechnicianBaseVO {

    @Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "用户昵称不能为空")
    private String nickname;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "密码不能为空")
    private String password;

    @Schema(description = "头像", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "头像不能为空")
    private String avatar;

    @Schema(description = "手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "手机号不能为空")
    private String mobile;

    @Schema(description = "身份证")
    @NotNull(message = "身份证不能为空")
    private String idCard;

    @Schema(description = "性别")
    @NotNull(message = "性别不能为空")
    private Integer sex;

    @Schema(description = "账号角色")
    private String role;

    @NotNull(message = "区域编码不能为空")
    private List<String> areaCodeList;

}
